#include <iostream>
#include <stdlib.h>
#include "internal.h"


Internal::Internal(ACTION action) : action(action)
{
}

Internal::~Internal()
{
}

void Internal::execute() const
{
    switch (action)
    {
		case EXIT:
			std::cout << "Exiting...\n";
			exit(0);
		break;
		default:
			// Not allowed
			std::cerr << "Fatal error, exiting...\n";
			exit(0);
		break;
    }
}
